package org.soaism.testserver.service.rest;

import org.soaism.testserver.service.entities.*;

public class JourneyServiceImpl implements IJourneyService {
	public GetLogResponse getJourney(int id) {
		// TODO: Enter your manual code here
		return null;
	}

	public NewLogResponse postJourney(Journey journey) {
		// TODO: Enter your manual code here
		return null;
	}

	public DeleteLogResponse deleteJourney(String id) {
		// TODO: Enter your manual code here
		return null;
	}

	public ChangeLogResponse

	putJourney(int id, Journey journey) {
		// TODO: Enter your manual code here
		return null;
	}
	
	public static org.soaism.testserver.service.entities.Journey createDefaultJourney() {
		Location location = new Location();
		location.setName("home");
		location.setCity("My City");
		org.soaism.testserver.service.entities.Journey j = new org.soaism.testserver.service.entities.Journey();
		j.setComment("JOURNEY 1");
		j.setStartLocation(location);
		return j;
	}

}
